//
//  XSJoin.m
//  MeiLiYiChu
//
//  Created by mac on 16/3/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "XSJoin.h"

@implementation XSJoin
+(XSJoin *)getJoinWithNSDictionary:(NSDictionary *)dic
{
    XSJoin * join =[[XSJoin alloc]init];
    join.array =[dic valueForKey:@"description"];
    join.title =dic[@"title"];
    join.deposit_message =[dic valueForKey:@"deposit_message"];
    join.message =[dic valueForKey:@"message"];
    
    
    for (NSString * image in join.array)
    {
        join.imageName =image;
    }
    return join;
}
@end
